import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from "./environment";

if(environment.isMock){
  // @ts-ignore
  import('./app/mock-api.js');
}
platformBrowserDynamic().bootstrapModule(AppModule, {})
  .catch(err => console.error(err));
